package com.bidevalution;
import com.alibaba.druid.support.http.WebStatFilter;

import javax.servlet.annotation.WebFilter;
import javax.servlet.annotation.WebInitParam;

/**
 * Druid的StatFilter
 *
 * @author   查慧英
 * @myblog  http://blog.csdn.net/catoop/
 * @create    2016年3月17日
 */
@WebFilter(filterName="DruidWebStatFilter",urlPatterns="/*",
        initParams={
                // 忽略资源
                @WebInitParam(name="exclusions",value="*.js,*.gif,*.jpg,*.png,*.css,*.ico,*.jsp,/supermanage/*,/download/*"),
                @WebInitParam(name="sessionStatMaxCount",value="200"),
                @WebInitParam(name="sessionStatEnable",value="true"),
                @WebInitParam(name="principalSessionName",value="session_user_key"),
                @WebInitParam(name="profileEnable",value="true")
        })

public class DruidStatFilter extends WebStatFilter {

}
